package com.fch.sdlibrary.mapper;

import com.fch.sdlibrary.entity.History;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @program: sdlibrarySpring
 * @description: 历史记录
 * @CreatedBy: fch
 * @create: 2022-05-24 21:42
 **/
@Mapper
public interface HistoryMapper {
    void addBorrowHit(String userId, String bookId);

    void addRemandHit(String userId, String bookId);

    List<History> queryHistory();
}
